<%--
  Created by IntelliJ IDEA.
  User: ttxs
  Date: 2023/7/31
  Time: 8:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>Title</title>
    <script src="${pageContext.request.contextPath}/statics/js/jquery.min.js"></script>
</head>
<body>
<jsp:include page="/WEB-INF/jsp/header.jsp"/>
<h1>详情</h1>
<table>
    <tr>
        <td>ID</td>
        <td>
            ${user.id}
        </td>
    </tr>
    <tr>
        <td>账号</td>
        <td>
            ${user.account}
        </td>
    </tr>
    <tr>
        <td>昵称</td>
        <td>${user.realName}</td>
    </tr>
    <tr>
        <td>角色</td>
        <td>
            ${user.roleId}
        </td>
    </tr>
    <tr>
        <td>身份证</td>
        <td>
            <img src="${uploadHost}/${user.idPicPath}" alt="身份证" width="32" height="32">
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <input value="返回" type="button" onclick="location.href='${pageContext.request.contextPath}/users/list'">
        </td>
    </tr>
</table>
</body>
</html>
